package com.byxy.action;

import org.apache.struts2.ServletActionContext;

import com.opensymphony.xwork2.ActionSupport;
//退出登录
public class UserQuitAction extends ActionSupport {
	public String quit() {
		//获取session值，然后销毁session
		ServletActionContext.getRequest().getSession().invalidate();
		return SUCCESS;
	}
}
